package com.faithbj.process;

import java.io.Serializable;
import java.util.Map;

/**
 * User: xiongyuanwei
 * Date: 12-7-22
 * Time: 下午8:15
 */
public class DefaultTaskModelFilter implements TaskModelFilter, Serializable {

    private static final DefaultTaskModelFilter instance = new DefaultTaskModelFilter();

    private DefaultTaskModelFilter() {

    }

    public static DefaultTaskModelFilter getInstance() {
        return instance;
    }

    @Override
    public boolean accepts(TaskModel task) {
        return true;
    }

    @Override
    public boolean accepts(Map<String, Object> content) {
        return true;
    }
}
